<template>
    <view class="m-empty">
        <image style="height: 6rem;width:7rem" mode="aspectFill" src="@/static/empty.png"/>
        <span style="color: rgba(0, 0, 0, 0.45)">{{i18n('dataEmpty','数据为空')}}</span>
    </view>
</template>

<script>
export default {
    name: "RxEmptyList",
    methods:{
        i18n(name,text,key){
            return this.$ti18(name,text,"allLang",key);
        },
    }
}
</script>

<style scoped>
.m-empty{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 50%;
}
</style>
